Skip to content

refactor: agent installation instructions page#5221

Draft
daniele-mng wants to merge 1 commit intomainfrom
GEA-1665
Draft

refactor: agent installation instructions page#5221
daniele-mng wants to merge 1 commit intomainfrom
GEA-1665

Conversation

@daniele-mng
Copy link
Copy Markdown
Contributor

What

  • Updated the AgentInstallInstructionsPage to use React Query for fetching installation instructions and controllers.
  • Introduced a new hook useGetInstallInstructions for fetching installation instructions based on the selected controller.
  • Added a new CopyToClipboard component for copying commands to the clipboard with visual feedback.
  • Created InstructionsSectionRenderer to render different types of instruction sections dynamically.
  • Added styles for instruction sections and commands.
  • Implemented error handling and loading states for better user experience.
  • Added tests for the CopyToClipboard component to ensure functionality and reliability.

Why

  • Migrating from injecting the content to rendering with a JSON response.

References

GEA-1665

Checklist

  • Tests

- Updated the AgentInstallInstructionsPage to use React Query for fetching installation instructions and controllers.
- Introduced a new hook `useGetInstallInstructions` for fetching installation instructions based on the selected controller.
- Added a new `CopyToClipboard` component for copying commands to the clipboard with visual feedback.
- Created `InstructionsSectionRenderer` to render different types of instruction sections dynamically.
- Added styles for instruction sections and commands.
- Implemented error handling and loading states for better user experience.
- Added tests for the `CopyToClipboard` component to ensure functionality and reliability.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 619e6e1.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant